#ifndef __GJOB__F
#define __GJOB__F

typedef struct _clupsd_job_t {
   char *printerid;
   char *gid;
   char *title;
   char *status;
   char *fileUrl;
   char *ticketUrl;
} clupsd_job_t;

void clupsdFreeAllJobs(cups_array_t *a);
cups_array_t *clupsdParseJobs(gservice* service, const char *json_str);
clupsd_job_t *clupsdNewJob(const char *jobid);

#endif
